package com.express.service.impl;

import com.express.dao.UserMapper;
import com.express.service.UserService;
import org.springframework.stereotype.Service;
import pojo.User;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;


    @Override
    public List<User> finAll() {
        return userMapper.selectAll();
    }

    @Override
    public String findPhoneNumberById(Integer id) {
        return userMapper.findPhoneNumberById(id);
    }
}
